Skip to main content

Library

Introduction

The Digisquares platform offers an intuitive editor that empowers users to configure various aspects of their applications. From defining APIs and creating visual or SQL queries to managing components and handling localization, the platform provides all the tools necessary for building and customizing powerful applications. This document will explore these key topics in detail.


API Configuration

API integration is a core feature of Digisquares. The API Configuration section allows users to connect their application to external services seamlessly.

  • Endpoints: Define the API URL for making requests.
  • Parameters: Configure query, path, or body parameters needed for communication.
  • Authentication: Choose from authentication methods like OAuth, API keys, or token-based authentication.
  • Headers: Set HTTP headers, including content type, authorization, and custom metadata.

API configuration ensures that your application communicates effectively with external systems, services, or databases. Learn more about API Configuration


Visual Query

The Visual Query Builder allows users to create complex data queries without writing SQL. This is ideal for non-technical users who need to interact with data easily.

  • Filters: Apply conditions (e.g., status = active) to refine data results.
  • Sorting: Sort data by fields in ascending or descending order.
  • Aggregations: Perform operations like SUM, COUNT, AVG on dataset columns.
  • Joins: Combine multiple data tables using joins (e.g., INNER JOIN, LEFT JOIN).

The Visual Query Builder simplifies data retrieval and manipulation for users who may not be familiar with SQL. Learn more about Visual Query Builder


SQL Query

For more advanced users, Digisquares offers the SQL Query Interface, enabling direct interaction with databases using SQL.

  • Data Retrieval: Use SELECT statements to query tables and retrieve data.
  • Data Manipulation: Execute SQL commands like INSERT, UPDATE, or DELETE to modify records.
  • Advanced Operations: Perform complex queries, subqueries, nested joins, and window functions.

This interface is perfect for users familiar with SQL who want to manipulate large datasets or optimize query performance. Learn more about SQL Query Interface


Function Editor

The Function Editor in Digisquares allows users to define reusable functions that perform operations or calculations across the application.

  • Define Inputs and Outputs: Specify parameters and expected return values.
  • Custom Logic: Write custom logic using built-in libraries or scripts.
  • Reusability: Functions can be used across different projects or components.

Functions are valuable for reducing code duplication and providing consistent, reusable logic throughout the application. Learn more about Creating Functions


Library Files

The Library Files section simplifies resource management by categorizing assets into Assets and Components, making it easier to store, organize, and reuse files across your projects.

Assets:

  • Purpose: Store images, icons, and other media files used throughout the application.
  • Upload Options:
    • Icon Upload: Add icons for use across the project.
    • Image Upload: Upload visual assets like images for UI elements.
  • Usage: Maintain a centralized library for all visual assets, ensuring consistency across your application.

Components:

  • Purpose: Store reusable UI components and functional elements.
  • Upload Options:
    • Main File: Upload the core component file (e.g., JavaScript, JSON, or configuration files).
    • Node Modules: Specify any external or internal Node modules required by the component.
    • Additional Files: Upload supplementary files needed for the component to function.
  • Usage: Facilitate the reuse of UI elements and functionality, streamlining the development process.

Library Files help centralize resources, improve organization, and streamline development by reusing assets and components. Learn more about Managing Library Files


Localization

To create global applications, Digisquares provides comprehensive Localization support, allowing users to manage content in multiple languages.

  • Language Files: Create translation files for various languages (e.g., English, Spanish, French).
  • Dynamic Content: Switch between languages automatically based on user preferences or geolocation.
  • Text Translations: Define translations for UI labels, notifications, and messages.

Localization enables you to create applications that cater to a global audience, providing users with a tailored experience based on their language and location. Learn more about Localization Features


Conclusion

The Digisquares platform offers an extensive set of tools to help you configure APIs, manage data queries, define functions, organize resources, and localize your applications. These features enable both technical and non-technical users to build, customize, and maintain powerful applications with ease.

By leveraging the full potential of Digisquares, you can streamline your development process, improve collaboration, and create robust, flexible, and globally accessible applications.